package com.edu.service;

import com.edu.bean.Book;

import java.util.Date;
import java.util.List;

public interface BookService {
    List<Book> getBooks(Book book, Date startDate, Date endDate);

    int addbook(Book book);

    int deleteBook(int bookId);

    Book getBookById(int bookId);

    int updateBook(Book book);

    int updateBookCover(int bookId,String bookCover);
}
